package com.wang.work;

public abstract class Tools<T> {
	/**
	 * 向硬盘写
	 * @return
	 */
	public abstract boolean writeToDisk(String fileName,T p);
	
	/**
	 * 读取内容
	 * @return
	 */
	public abstract T readFromDisk(String fileName);
}
